<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/common.css">
</head>
<body>
	<div class='status'>
		<span>商品品牌列表</span><a  class='add' href="{:U('addBrand')}" ><strong>添加商品品牌<b></b></strong></a>
	</div>
	<div>
		<table class="table" cellspacing='0px' cellpadding='0px'>
			<tr>
				<th>ID</th>
				<th>品牌名称</th>
				<th>品牌LOGO</th>
				<th>是否热销</th>
				<th>操作</th>
			</tr>
			<foreach name='brand' item='v'>
				<tr>
					<td>{$v.id}</td>
					<td>{$v.name}</td>
					<td><img src="{$Think.const.__ROOT__}/Uploads/Brand/{$v.logo}"/></td>
					<td>
					<if condition='$v["hot"]'>
						热门
					</else>
					</if>
					</td>
					<td><a href="{:U('updateBrand',array('id'=>$v['id']))}">修改</a><a href="{:U('delBrand',array('id'=>$v['id']))}">删除</a></td>
				</tr>
			</foreach>
			<tr ><td colspan='5' class='td_center'>{$page}</td></tr>
		</table>
	</div>
</body>
</html>